#include "gd32f1x0.h"
#include "systick.h"
#include "debug.h"
#include "sfsis.h"
#include <stdio.h>
#include "main.h"

unsigned char buff[100];
//时钟速度设置为64M
int main(void)
{
#if (DEBUG_EN == 1)
    debug_init();
#endif
    systick_config();
    DPRINT(DEBUG_INFO,"SF Starting...\r\n");
    sfinit();
    while (1)
    {
        sfmain();
#if (DEBUG_EN == 1)
        debug_task();
#endif
    }
}
